package com.qitmiaojie.service;

public interface AuthorityService {
    /***
    * @description 查询Authority
    * @param id
    * @return String
    * @author
    * @date
    */
    String QueryAuthorityById(Integer id);
    /***
    * @description 删除redis中的信息
    * @param UserName
    * @return
    * @author
    * @date
    */
    void ClearAuthorityByUserName(String UserName);
    /***
    * @description ClearAuthorityByRoleId
    * @param id
    * @return
    * @author
    * @date
    */
    void ClearAuthorityByRoleId(Integer id);
    /***
    * @description 删除菜单
    * @param id
    * @return
    * @author
    * @date
    */
    void ClearAuthorityByMenuId(Integer id);

}
